V2EX  ›  英汉词典

Floating-Point Arithmetic

定义 Definition

浮点运算:计算机中用浮点数(近似表示的实数)进行加、减、乘、除等运算的方法与规则。由于浮点数是有限精度表示,结果可能出现舍入误差溢出/下溢、以及像“0.1 + 0.2 不等于 0.3”这类现象。(该术语也常与 IEEE 754 标准相关。)

发音 Pronunciation

/ˈfloʊtɪŋ pɔɪnt əˈrɪθmətɪk/

例句 Examples

Floating-point arithmetic can introduce small rounding errors.
浮点运算可能引入微小的舍入误差。

Because floating-point arithmetic is not exact, you should compare results using a tolerance rather than using ==.
由于浮点运算并不精确,比较结果时应使用容差(误差范围)而不是直接用 ==

词源 Etymology

floating-point 源于“小数点会‘浮动’”的表示方式:小数点位置可随指数变化(类似科学计数法)。arithmetic 来自希腊语 arithmos(“数字”),指“算术/运算”。合起来就是“对浮点数进行的算术运算”。

相关词 Related Words

文学与著作 Literary Works

  • David Goldberg《What Every Computer Scientist Should Know About Floating-Point Arithmetic》(经典论文标题即含该词组)
  • Donald E. Knuth《The Art of Computer Programming, Volume 2: Seminumerical Algorithms》(讨论数值表示与浮点相关运算问题)
  • IEEE《**IEEE Standard for Floating-Point Arithmetic (IEEE 754)**》(标准文本中大量出现该术语或同义表述)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   842 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 22:07 · PVG 06:07 · LAX 14:07 · JFK 17:07
♥ Do have faith in what you're doing.